package cn.edu.scau.dropship.service;

import cn.edu.scau.dropship.entity.Goods;
import cn.edu.scau.dropship.entity.Order_goods;
import cn.edu.scau.dropship.entity.Order_goodsExample;
import cn.edu.scau.dropship.entity.Order_goodsKey;

import java.util.List;

public interface OrderGoodsService {
    
    public long countByExample(Order_goodsExample example);
    
    public int deleteByExample(Order_goodsExample example);
    
    public int deleteByPrimaryKey(Order_goodsKey key);
    
    public int insert(Order_goods record);
    
    public int insertSelective(Order_goods record);
    
    public List<Order_goods> selectByExample(Order_goodsExample example);

    public Order_goods selectByPrimaryKey(Order_goodsKey key);
    
    public int updateByExampleSelective(Order_goods record, Order_goodsExample example);
    
    public int updateByExample(Order_goods record, Order_goodsExample example);

    public int updateByPrimaryKeySelective(Order_goods record);

    public int updateByPrimaryKey(Order_goods record);

    public List<Order_goods> selectByOid(Integer oid);

    public void delete(Order_goodsKey record);

    public List<Goods> selectGoodByOrderID(Integer id);


    public  Order_goods selectByPrimaryKey(Integer goodsID , Integer orderID);

    public Order_goods select(Order_goodsKey key);
}
